

#ifndef _SHELL_RESATTBUTE_MESSAGE_H_
#define _SHELL_RESATTBUTE_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ResAttbuteMessage : public Message
{
	public:
	ResAttbuteMessage();
	~ResAttbuteMessage();
	void reset();
	ResAttbuteMessage* clone();
	static const int _ID;
	//变化的属性类型 见属性对应表
	int16 type;
	//变化的值
	int32 value;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
